<div>
	<div ng-show="user" class="app-header" ng-include="'waf/view/'+app.settings.theme+'/header.html'" uib-collapse="app.settings.full"></div>
	<div class="collapse-menu-bar" ng-class="{'collapse-menu': app.settings.leftMenu && app.settings.collapseLeftMenu}" ng-hide="(!app.settings.leftMenu || app.settings.full && user)"></div>
	<div ng-class="{'app-content container-fluid':user,'collapse-menu': app.settings.leftMenu && app.settings.collapseLeftMenu, 'full-screen': app.settings.full}">
		<div ng-show="user && !app.settings.spaPage" class="app-menu-bar" ng-class="{'collapse-menu': app.settings.leftMenu && app.settings.collapseLeftMenu}" uib-collapse="app.settings.full">
			<nav class="navbar navbar-default">
				<div class="container-fluid">
					<div fs-menu ng-model="menus"></div>
				</div>
			</nav>
		</div>
		<div ng-class="{'app-content-body panel':user}">
			<!-- <div ng-show="user && !app.settings.spaPage" class="panel-heading info-bar">
				<ul class="list-inline">
					<div class="pull-left">
						<button type="button" class="btn btn-default btn-xs" clipboard text="pageId" on-copied="copySuccess()" uib-tooltip="{{copyPageIdTooltip | translate}}" tooltip-placement="right" style="padding-right: 10px;">
							<span class="icon icon-copy"></span>
						</button>
					</div>
					<div class="pull-left" ng-repeat="button in auditAndNoteButtons">
						<fs-button fs-button-config="button" fs-button-group="true"/>
					</div>
					<div class=" pull-right">
						<span class="icon" ng-click="app.settings.collapseRightAside = !app.settings.collapseRightAside" ng-class="{'icon-track': app.settings.collapseRightAside}" style="cursor: pointer; padding-right: 10px;"></span>
						<span class="icon" ng-class="{'icon-expand': !app.settings.full,'icon-contract': app.settings.full}" style="cursor: pointer;" ng-click="app.settings.full = !app.settings.full"></span>
					</div>
					<li><label>{{'menu.admin.site'|translate}}</label>: <span>{{user.siteCode}}</span></li>
					<li ng-if="user.siteCode != user.workingCompanyCode"><label>{{'menu.title.company'|translate}}</label>: <span>{{user.workingCompanyCode}}</span></li>
					<li><label>{{'menu.title.user'|translate}}</label>: <span>{{user.userName}}</span></li>
					<li><label>{{'label.site.bizdate'|translate}}</label>: <span>{{site.bizDate | dateFormat: 'date'}}</span></li>
				</ul>
			</div> -->
			<div ng-show="user && !app.settings.spaPage" ng-class="{'panel-heading-home':($stateParams.params.__state == 'waf_home')}" fs-nav></div>
			<div class="panel-body" ng-class="{'collapse-right':app.settings.collapseRightAside, 'spa-page':app.settings.spaPage, 'panel-body-home':($stateParams.params.__state == 'waf_home')}" ui-view></div>
		</div>
	</div>
</div>
<div style="position: absolute; left: 0; bottom: 0; top: 0; height: 100%;z-index:-1;" class="app-menu-bar" ng-class="{'collapse-menu': app.settings.collapseLeftMenu}" ng-if="app.settings.leftMenu"></div>
